package com.yuanchuang.yp.mall.web.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author mg-mybatis-generator
 * @since 2019-07-11
 */
@Data
@TableName("auth_power")
public class AuthPowerDO implements Serializable {

    private static final long serialVersionUID = -3780540217387385209L;

    /**
     * 权限ID递增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 权限名称
     */
    private String powerName;

    /**
     * 权限校验@RequiresPermissions("*****")里面的*****一样
     */
    private String permission;

    /**
     * 分类id
     */
    @TableField("sortId")
    private Long sortId;


}
